package com.jiyinit.web.core.activiti.entity;

import com.jiyinit.core.framework.base.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;

public class TabLeaveBillInfoEntity extends BaseEntity{
    private Integer id;

    private String executionId;

    private Integer userId;

    private Integer orgId;

    private String lvType;

    private Date lvStartTime;

    private Date lvEndTime;

    private String linkTel;

    private String bakTel;

    private String lvReason;

    private Double lvHours;

    private Double lvDay;

    private Date createDate;

    private Date modDate;

    private String isAgree;

    private String isDelete;

    private String mobileuuid;

    private String userLevel;

    /**
     * 新增请假状态
     */
    private String convertStatus;

    /**
     * 任务key
     */
    private String taskDefinitionKey;

    /**
     * 当前任务节点处理人
     */
    private String currentUserName;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getExecutionId() {
        return executionId;
    }

    public void setExecutionId(String executionId) {
        this.executionId = executionId == null ? null : executionId.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getLvType() {
        return lvType;
    }

    public void setLvType(String lvType) {
        this.lvType = lvType == null ? null : lvType.trim();
    }

    public Date getLvStartTime() {
        return lvStartTime;
    }

    public void setLvStartTime(Date lvStartTime) {
        this.lvStartTime = lvStartTime;
    }

    public Date getLvEndTime() {
        return lvEndTime;
    }

    public void setLvEndTime(Date lvEndTime) {
        this.lvEndTime = lvEndTime;
    }

    public String getLinkTel() {
        return linkTel;
    }

    public void setLinkTel(String linkTel) {
        this.linkTel = linkTel == null ? null : linkTel.trim();
    }

    public String getBakTel() {
        return bakTel;
    }

    public void setBakTel(String bakTel) {
        this.bakTel = bakTel == null ? null : bakTel.trim();
    }

    public String getLvReason() {
        return lvReason;
    }

    public void setLvReason(String lvReason) {
        this.lvReason = lvReason == null ? null : lvReason.trim();
    }

    public Double getLvHours() {
        return lvHours;
    }

    public void setLvHours(Double lvHours) {
        this.lvHours = lvHours;
    }

    public Double getLvDay() {
        return lvDay;
    }

    public void setLvDay(Double lvDay) {
        this.lvDay = lvDay;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModDate() {
        return modDate;
    }

    public void setModDate(Date modDate) {
        this.modDate = modDate;
    }

    public String getIsAgree() {
        return isAgree;
    }

    public void setIsAgree(String isAgree) {
        this.isAgree = isAgree == null ? null : isAgree.trim();
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? null : isDelete.trim();
    }

    public String getMobileuuid() {
        return mobileuuid;
    }

    public void setMobileuuid(String mobileuuid) {
        this.mobileuuid = mobileuuid == null ? null : mobileuuid.trim();
    }

    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel == null ? null : userLevel.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TabLeaveBillInfoEntity other = (TabLeaveBillInfoEntity) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getExecutionId() == null ? other.getExecutionId() == null : this.getExecutionId().equals(other.getExecutionId()))
                && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
                && (this.getOrgId() == null ? other.getOrgId() == null : this.getOrgId().equals(other.getOrgId()))
                && (this.getLvType() == null ? other.getLvType() == null : this.getLvType().equals(other.getLvType()))
                && (this.getLvStartTime() == null ? other.getLvStartTime() == null : this.getLvStartTime().equals(other.getLvStartTime()))
                && (this.getLvEndTime() == null ? other.getLvEndTime() == null : this.getLvEndTime().equals(other.getLvEndTime()))
                && (this.getLinkTel() == null ? other.getLinkTel() == null : this.getLinkTel().equals(other.getLinkTel()))
                && (this.getBakTel() == null ? other.getBakTel() == null : this.getBakTel().equals(other.getBakTel()))
                && (this.getLvReason() == null ? other.getLvReason() == null : this.getLvReason().equals(other.getLvReason()))
                && (this.getLvHours() == null ? other.getLvHours() == null : this.getLvHours().equals(other.getLvHours()))
                && (this.getLvDay() == null ? other.getLvDay() == null : this.getLvDay().equals(other.getLvDay()))
                && (this.getCreateDate() == null ? other.getCreateDate() == null : this.getCreateDate().equals(other.getCreateDate()))
                && (this.getModDate() == null ? other.getModDate() == null : this.getModDate().equals(other.getModDate()))
                && (this.getIsAgree() == null ? other.getIsAgree() == null : this.getIsAgree().equals(other.getIsAgree()))
                && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
                && (this.getMobileuuid() == null ? other.getMobileuuid() == null : this.getMobileuuid().equals(other.getMobileuuid()))
                && (this.getUserLevel() == null ? other.getUserLevel() == null : this.getUserLevel().equals(other.getUserLevel()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getExecutionId() == null) ? 0 : getExecutionId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getOrgId() == null) ? 0 : getOrgId().hashCode());
        result = prime * result + ((getLvType() == null) ? 0 : getLvType().hashCode());
        result = prime * result + ((getLvStartTime() == null) ? 0 : getLvStartTime().hashCode());
        result = prime * result + ((getLvEndTime() == null) ? 0 : getLvEndTime().hashCode());
        result = prime * result + ((getLinkTel() == null) ? 0 : getLinkTel().hashCode());
        result = prime * result + ((getBakTel() == null) ? 0 : getBakTel().hashCode());
        result = prime * result + ((getLvReason() == null) ? 0 : getLvReason().hashCode());
        result = prime * result + ((getLvHours() == null) ? 0 : getLvHours().hashCode());
        result = prime * result + ((getLvDay() == null) ? 0 : getLvDay().hashCode());
        result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
        result = prime * result + ((getModDate() == null) ? 0 : getModDate().hashCode());
        result = prime * result + ((getIsAgree() == null) ? 0 : getIsAgree().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getMobileuuid() == null) ? 0 : getMobileuuid().hashCode());
        result = prime * result + ((getUserLevel() == null) ? 0 : getUserLevel().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", executionId=").append(executionId);
        sb.append(", userId=").append(userId);
        sb.append(", orgId=").append(orgId);
        sb.append(", lvType=").append(lvType);
        sb.append(", lvStartTime=").append(lvStartTime);
        sb.append(", lvEndTime=").append(lvEndTime);
        sb.append(", linkTel=").append(linkTel);
        sb.append(", bakTel=").append(bakTel);
        sb.append(", lvReason=").append(lvReason);
        sb.append(", lvHours=").append(lvHours);
        sb.append(", lvDay=").append(lvDay);
        sb.append(", createDate=").append(createDate);
        sb.append(", modDate=").append(modDate);
        sb.append(", isAgree=").append(isAgree);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", mobileuuid=").append(mobileuuid);
        sb.append(", userLevel=").append(userLevel);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    public String getConvertStatus() {
        return convertStatus;
    }

    public void setConvertStatus(String convertStatus) {
        this.convertStatus = convertStatus;
    }

    public String getTaskDefinitionKey() {
        return taskDefinitionKey;
    }

    public void setTaskDefinitionKey(String taskDefinitionKey) {
        this.taskDefinitionKey = taskDefinitionKey;
    }

    public String getCurrentUserName() {
        return currentUserName;
    }

    public void setCurrentUserName(String currentUserName) {
        this.currentUserName = currentUserName;
    }
}